fix(lifecycle): park no-baseline drift scores; optional GCP auth for drift-check - #591
Merged
Merged
Conversation
Treat baseline_available=False as unavailable for NEW_RISK inject so no-baseline 0.0 HEALTHY cannot pass as clean. Gate reusable drift-check cloud writes behind optional WIF inputs; without them keep local-only. Co-Authored-By: Claude <noreply@anthropic.com> Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
resolve_injected_drift_score/production_drift_status_from_resultomit scores whenbaseline_available=False(no-baseline 0.0 must not look healthy for Policy A).reusable-drift-check.yml: optional GCP WIF inputs; if bucket set without WIF, clear bucket env and stay local-only (avoid hard-fail / silent non-persist confusion).Test plan
pytest tests/test_production_drift_score_resolve.py tests/test_production_drift_new_risk.py tests/test_production_drift_health_probe.pyGCP_WORKLOAD_*vars + pin this SHA; soxl/russell still need BacktestOrchestrator baselines before store has real scoresMade with Cursor